package com.xl.singletonPattern;

/**
 * 枚举单例
 */
public enum EnumSingleton {
    INSTANCE;

    public void doSomething() {
        System.out.println("枚举单例的业务方法");
    }
}
